import request from "@/plugins/request";

var pre = "/inteCater/foodBeverages/myWishMenu";

if (process.env.NODE_ENV !== "development") {
    pre = "/api/sa/smar-catering" + pre;
}


// 分页查询
export function pageByAdvice(data) {
    return request({
        url: `${pre}/pageByAdvice`,
        method: "post",
        data
    });
}

// 新增
export function add(data) {
    return request({
        url: `${pre}/add`,
        method: "post",
        data
    });
}


// 删除
export function del(data) {
    return request({
        url: `${pre}/del`,
        method: "post",
        data
    });
}
